package com.hrbxlh.virtualization.param;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cheer
 */
public class ImageAllocationCancelParam {

    /**
     * 课程Id
     */
    @NotNull(message = "课程Id不能为空")
    private Integer courseId;

    /**
     * 章节Id集合
     */
    @NotEmpty(message = "没有选择镜像")
    private List<Integer> chapterIds;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public List<Integer> getChapterIds() {
        return chapterIds;
    }

    public void setChapterIds(List<Integer> chapterIds) {
        this.chapterIds = chapterIds;
    }

}
